from const import *
import shutil
import os

print("Clear output and log")
for folder in folders:
    try:
        shutil.rmtree(output_folder_template.format(folder))
    except Exception as e:
        pass

    try:
        os.remove(log_file_template.format(folder))
    except Exception as e:
        pass
